The Dreamweaver JavaScript API > File manipulation functions > dom.setTextAlignment()

 

dom.setTextAlignment()

Availability

Dreamweaver 3.0

Description

Sets the ALIGN attribute of the block that contains the selection to the specified value.

Arguments

alignValue

alignValue must be "left", "center", or "right".

Returns

Nothing.

Enabler

None.